package com.bwie.mapper;

import com.bwie.common.domain.Menu;
import com.bwie.common.domain.Role;
import com.bwie.common.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: UserMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: 张雨乐
 * @date: 2025/9/1 9:32
 */
@Mapper
public interface UserMapper {
    User phone(String phone);

    List<Role> getRole(@Param("id") Integer id);

    List<Menu> menu(@Param("roleId") String roleId);
}
